package com.cpit.platform.service;

import java.util.List;

import com.cpit.platform.common.entity.TableDataQueryCondition;
import com.cpit.platform.common.entity.TableJsonData;
import com.cpit.platform.dto.Authority;

public interface AuthorityService {
	List<Authority> findAll();
	List<Authority> findByCondition(int page, 
			int size, 
			String order, 
			String orderBy, 
			String pattern);
	void createAuthority(Authority auth) throws Exception;
	void deleteAuthority(Authority auth) throws Exception;
	@SuppressWarnings("rawtypes")
	public TableJsonData findByConditionJqg(TableDataQueryCondition cond);
}
